/* pages/basket/basket.wxss */

page {
  width: 100%;
  background: #f4f4f4;
}

.container {
  padding-bottom: 112rpx;
  overflow: auto;
}
/*
.prod-list {
  margin-bottom: 120px;
} */

.shop-item {
  margin-top: 20rpx;
  background: #fff;
}

/* 店铺 */

.choose-btn {
  display: inline-block;
}

.shop-item .head-shop {
  padding: 20rpx;
  background: #fff;
  display: flex;
  align-items: center;
  border-bottom: 2rpx solid #eee;
}

.shop-item .head-shop image {
  width: 100%;
  height: 100%;
  display: block;
}


.shop-item .head-shop .shop-box {
  flex: 1;
  display: flex;
  align-items: center;
  margin-left: 8rpx;
}

.shop-item .head-shop .shop-icon {
  width: 32rpx;
  height: 32rpx;
  margin-right: 10rpx;
}

.shop-item .head-shop .shop-name {
  font-size: 26rpx;
  font-weight: 600;
  position: relative;
  padding-right: 16rpx;
}
.shop-name span{
	position: absolute;
	right: 0;
	top: 48%;
	display: block;
	width: 8rpx;
	height: 8rpx;
	content: " ";
	font-size: 0;
	border-top: 4rpx solid #333;
	border-right: 4rpx solid #333;
	transform: rotate(45deg) translateY(-50%);
}
.shop-item .prod-block .discount-tips {
  /* border-top: 2rpx solid #eee; */
  padding: 20rpx 16rpx;
  /* height: 40rpx; */
  line-height: 40rpx;
  display: flex;
  justify-content: space-between;
}


.shop-item .prod-block .discount-tips .combo-item {
  display: flex;
  /* max-width: 50%; */
}
.shop-item .prod-block .discount-tips .combo-item .combo-name {
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-item .prod-block .discount-tips .combo-item .text-block {
  display: flex;
  margin-right: auto;
  width: auto;
  padding: 0rpx 6rpx;
  border-radius: 4rpx;
  font-size: 20rpx;
  background: #F81A1A;
  color: #fff;
  position: relative;
}

.shop-item .prod-block .discount-tips .text-block::before{
  position: absolute;
  left: 14rpx;
  bottom: -16rpx;
  content: "";
  display: block;
  width: 0;
  height: 0;
  border: 8rpx solid transparent;
  border-top: 8rpx solid #F81A1A;
}

.shop-item .prod-block .discount-tips .text-list {
  font-size: 24rpx;
  margin-left: 10rpx;
  font-weight: 600;
}

.shop-item .prod-block .discount-tips .text-list.reduce-amount {
  font-weight: normal;
  color: #F81A1A;
	padding-left: 20rpx;
}

.shop-item .prod-block .goods-item {
  position: relative;
}

.shop-item .prod-block.discount .goods-item::after{
  position: absolute;
  left: 36rpx;
  top: 0;
  bottom: 0;
	/* #ifdef MP-TOUTIAO */
	left: 44rpx;
	/* #endif */
  width: 2rpx;
  height: auto;
  content: "";
  border-left: 2rpx dashed #eee;
  z-index: 0;
}

.shop-item .prod-block .item {
  background: #fff;
  display: flex;
  align-items: center;
  padding: 20rpx;
  border-top: 2rpx solid #f2f2f2;
  z-index: 2;
}

.shop-item .prod-block .item .btn {
  align-self: center;
  z-index: 3;
}
.shop-item .prod-block .item .btn.hide {
  z-index: -1;
}

.shop-item .prod-block .item .prodinfo {
  position: relative;
  color: #999;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* .shop-item .prod-block .item .prodinfo .pic {
  text-align: center;
  width: 200rpx;
  height: 200rpx;
  line-height: 180rpx;
  font-size: 0;
}

.shop-item .prod-block .item .prodinfo .pic image {
  width: 100%;
  height: 100%;
} */

.prod-list .item .prodinfo .info-row{
  display: flex;
}

.prod-list .item .prodinfo .pic {
  text-align: center;
  width: 180rpx;
  height: 180rpx;
  line-height: 180rpx;
  font-size: 0;
}

.prod-list .item .pic image {
  max-width: 100%;
  max-height: 100%;
  /* border-radius: 8rpx; */
  vertical-align: middle;
}

.shop-item .prod-block .item .prodinfo .opt {
  margin-left: 20rpx;
  flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.shop-item .prod-block .item .prodinfo .opt .prod-name {
  font-size: 28rpx;
  color: #333;
  line-height: 36rpx;
  display: -webkit-box;
  word-break: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.prodinfo .opt .prod-name {
  color: #333;
  max-height: 72rpx;
  line-height: 36rpx;
  display: -webkit-box;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.prodinfo .opt .prod-discount {
  color: #F81A1A;
  display: block;
  font-size: 24rpx;
}
 .prod-info-text {
  font-size: 24rpx;
  font-family: arial;
  position: relative;
  padding: 10rpx 50rpx 10rpx 10rpx;
  background: #f9f9f9;
  border-radius: 8rpx;
	max-width: 240rpx;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: inline-block;
	word-break: keep-all;
}

.prodinfo .opt .prod-info-text::after {
  content: "";
  width: 12rpx;
  height: 12rpx;
  border: solid #999;
  border-width: 1rpx 0 0 1rpx;
  transform: translate(-50%, -50%) rotate(225deg);
  position: absolute;
  right: 10rpx;
  top: 22rpx;
}

.prodinfo .opt .prod-info-text.empty-n {
  padding: 0;
}

.prod-info-text:before {
  border-top: 5px solid #aaa;
}

.prod-info-text:after {
  border-top: 5px solid #f9f9f9;
  top: 9px;
}


.prodinfo .opt .prod-discount .prod-discount-tit {
  position: relative;
  padding: 10rpx 40rpx 10rpx 10rpx;
  background: #fdf1f2;
  border-radius: 8rpx;
	max-width: 240rpx;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: inline-block;
	word-break: keep-all;
}

.prodinfo .opt .prod-discount .prod-discount-tit::after {
  content: "";
  width: 12rpx;
  height: 12rpx;
  border: solid #F81A1A;
  border-width: 1rpx 0 0 1rpx;
  transform: translate(-50%, -50%) rotate(225deg);
  position: absolute;
  right: 10rpx;
  top: 22rpx;
}

.shop-item .prod-block .item .prodinfo .opt .price-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.shop-item .prod-block .item .prodinfo .opt .price-count .combo-count {
  font-size: 28rpx;
  margin-left: 20rpx;
  color: #333;
}

/* 加减框 */

.shop-item .prod-block .item .prodinfo .opt .m-numSelector {
  display: flex;
  box-sizing: border-box;
  border: 2rpx solid #eee;
  border-radius: 4rpx;
}

.mask {
  height: 29px;
  width: 29px;
  position: absolute;
}

.shop-item .prod-block .item .prodinfo .opt .m-numSelector .minus,
.shop-item .prod-block .item .prodinfo .opt .m-numSelector .plus {
  height: 56rpx;
  width: 56rpx;
  box-sizing: border-box;
  position: relative;
}

.shop-item .prod-block .item .prodinfo .opt .m-numSelector input {
  width: 56rpx;
  height: 56rpx;
  text-align: center;
  color: #333;
  border-left: 2rpx solid #eee;
  border-right: 2rpx solid #eee;
  font-size: 24rpx;
  font-family: arial;
}

.shop-item .prod-block .item .prodinfo .opt .m-numSelector .minus::before,
.shop-item .prod-block .item .prodinfo .opt .m-numSelector .plus::before,
.shop-item .prod-block .item .prodinfo .opt .m-numSelector .plus::after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  content: ' ';
  width: 22rpx;
  height: 2rpx;
  background-color: #7f7f7f;
}

.shop-item .prod-block .item .prodinfo .opt .m-numSelector .plus::after {
  transform: rotate(93deg);
  z-index: 1;
}

.shop-item .prod-block .item .prodinfo .opt .m-numSelector:not(.disabled) .minus:not(.disabled):active,
.shop-item .prod-block .item .prodinfo .opt .m-numSelector:not(.disabled) .plus:not(.disabled):active {
  opacity: 0.6;
}

/*checkbox 选项框大小  */

checkbox .wx-checkbox-input {
  border-radius: 50%;
  width: 32rpx;
  height: 32rpx;
}

/*checkbox选中后样式  */

checkbox .wx-checkbox-input.wx-checkbox-input-checked {
  background: #F81A1A;
  border-color: #F81A1A;
}

/*checkbox选中后图标样式  */

checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
  text-align: center;
  font-size: 20rpx;
  color: #fff;
  background: transparent;
  transform: translate(-50%, -50%) scale(1);
  -webkit-transform: translate(-50%, -50%) scale(1);
}


/** 底部按钮 */

.cart-footer {
  position: fixed;
  bottom: 50px;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  height: 110rpx;
  border-top: 2rpx solid #f4f4f4;
  z-index: 99;
  background: #fff;
  padding: 0 10rpx 0 20rpx;
	box-sizing: border-box;
}

/* #ifndef MP ||  APP-PLUS*/
.cart-footer {
  margin-bottom: constant(safe-area-inset-bottom);
  margin-bottom: env(safe-area-inset-bottom);
}
/* #endif */

/*  #ifdef  MP || APP-PLUS */
	.cart-footer {
		bottom: 0px;
	}

/*  #endif  */

.cart-footer .all {
  font-size: 28rpx;
}

.cart-footer .all label {
  display: flex;
  align-items: center;
}

.cart-footer .del {
  color: #F81A1A;
  font-size: 24rpx;
  margin-left: 14rpx;
}

.cart-footer .total {
  flex: 1;
  display: flex;
  align-items: center;
  margin-right: 40rpx;
	justify-content: flex-end;
}
.cart-footer .total .total-con .finally {
  text-align: center;
}
.cart-footer .total .total-con .finally .blod {
  font-weight: bold;
  font-size: 28rpx;
}

.cart-footer .total .total-con .finally .price  {
  font-size: 30rpx;
}

.cart-footer .total .total-msg {
  font-size: 22rpx;
  text-align: center;
}

.cart-footer .total .arrow-icon {
  width: 40rpx;
  height: 20rpx;
  margin-left: 10rpx;
}

.cart-footer .total .arrow-icon image {
  display: block;
  width: 100%;
  height: 100%;
}

.cart-footer .settle {
  height: 70rpx;
  line-height: 70rpx;
  padding: 0 50rpx;
  background: #F81A1A;
  color: #fff;
  border-radius: 70rpx;
  margin-right: 20rpx;
  font-size: 28rpx;
}

/** end 底部按钮 */

/* 满减活动弹框 */

/*模态框*/

.modals {
  position: fixed;
  z-index: 1999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.modals-bottom-dialog {
  position: fixed;
  z-index: 98;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.select-distribution {
  z-index: 100;
}

.modals-cancel {
  position: absolute;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.bottom-dialog-body {
  position: absolute;
  z-index: 10001;
  bottom: 95px;
  left: 0;
  right: 0;
  height: 500rpx;
  background-color: #fff;
}
.bottom-dialog-box {
  position: absolute;
  z-index: 10001;
  bottom: 90rpx;
  left: 0;
  right: 0;
  height: 500rpx;
  background-color: #fff;
}

.radius {
  border-radius: 20rpx 20rpx 0 0;
}

.select-distribution .bottom-dialog-box {
  position: absolute;
  z-index: 10001;
  left: 0;
  right: 0;
  bottom: 50px;
  height: 65%;
  background-color: #fff;
  overflow: auto;
}

/*动画前初始位置*/

.bottom-pos {
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
}

.discount-title {
  font-size: 30rpx;
  margin-bottom: 20rpx;
  padding:26rpx;
  background: #f1f1f1;
  text-align: center;
  position: relative;
}

.radio-group {
  display: block;
  width: 100%;
  height: 350rpx;
  overflow-y: auto;
	padding: 0 20rpx;
	box-sizing: border-box;
  padding-bottom: env(safe-area-inset-bottom);
  padding-bottom: constant(safe-area-inset-bottom);
}

.radio-item {
	display: flex;
	width: 100%;
	margin-bottom: 20rpx;
}
.radio-item .radio-text {
	font-size: 28rpx;
	word-break: break-all;
	max-width: 100%;
}

radio {
  transform: scale(1);
}

radio .wx-radio-input{
  text-align: left;
}
.discount-radio label{
  display: inline-block;
  height:60rpx;
  line-height: 60rpx;
}
.discount-radio{
  font-size: 28rpx;
  height:60rpx;
  line-height: 60rpx;
  padding:0 20rpx
}

/* 购物车为空 */
.empty {
  margin-top: 100rpx;
  text-align: cneter;
}
.empty-icon {
  display: block;
  width: 100rpx;
  height: 100rpx;
  margin: 0 auto;
  margin-bottom: 20rpx;
}
.empty-icon > image {
  width: 100%;
  height: 100%;
}
.empty-text {
  font-size: 28rpx;
  text-align: center;
  color: #999;
  line-height: 2em;
}

/* 金额明细 */
.price-detail {
  max-height: 220rpx;
  overflow-y: scroll;
  padding: 10rpx 20rpx;
}
.price-detail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3em;
  font-size: 28rpx;
  border-bottom: 1px solid #f2f2f2;
}
.price-detail-item:last-child {
  border: 0;
}
.det-num {
  color: #F81A1A;
}

/* 商品配送方式选择 */
.distribution-prods {
  padding: 0 30rpx 30rpx;
  background: #fff;
}

.distribution-prods .des {
  color: #999;
  font-size: 24rpx;
  margin-top: 30rpx;
}

.distribution-prods .p-item {
  margin-top: 30rpx;
  background: #f9f9f9;
  border-radius: 10rpx;
  padding: 30rpx;
}

.distribution-prods .p-item .p-tit {
  font-size: 28rpx;
  font-weight: 600;
}

.distribution-prods .p-item .p-con {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20rpx 0;
}

.distribution-prods .p-item .p-con .prods-item {
  max-width: 480rpx;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 28rpx;
}

.distribution-prods .p-item .p-con .prods-item .pic {
  position: relative;
  width: 80rpx;
  height: 80rpx;
  /* font-size: 0; */
  margin-right: 20rpx;
  display: inline-block;
}

.distribution-prods .p-item .p-con .prods-item .pic .prod-count {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 20rpx;
  padding: 0 10rpx;
  height: 30rpx;
  line-height: 30rpx;
  text-align: center;
  background: rgba(0, 0, 0, .3);
  border-radius: 12rpx 0 12rpx 0;
  color: #fff;
}

.distribution-prods .p-item .p-con .prods-item .pic image {
  width: 100%;
  height: 100%;
}

.distribution-prods .p-item .p-con .p-btn {
  background: #F81A1A;
  padding: 8rpx 30rpx;
  color: #fff;
  font-size: 24rpx;
  border-radius: 40rpx;
}

.distribution-prods .p-item .p-total {
  display: flex;
  align-items: baseline;
  font-size: 24rpx;
}

.distribution-prods .p-item .p-total .num {
  color: #F81A1A;
  font-family: arial;
  margin: 0 8rpx;
}


/* #ifdef APP-PLUS || MP-WEIXIN */
.select-distribution .bottom-dialog-box {
	bottom: 0;
}
.pri-modal .bottom-dialog-box{
	bottom: 90rpx;
}
.bottom-dialog-body{
	bottom: 0;
}
/* #endif */


/* 赠品 */
.gift-con {
  padding: 10rpx;
}
.gift-item {
  padding-left: 190rpx;
  box-sizing: border-box;
  font-size: 24rpx;
  display: flex;
  align-items: center;
  margin-bottom: 6rpx;
  overflow: hidden;
  width: 700rpx;
}
.gift-item:last-child {
  margin-bottom: 0;
}
.gift-name {
  flex: 1;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 82%;
}
.gift-name .gift-sku{
  color: #999;
  margin-left: 20rpx;
}
.gift-count {
  display: flex;
  margin-left: auto;
  color: #333;
  align-items: center;
}
.gift-count image {
  width: 18rpx;
  height: 18rpx;
}

/* 套装 */
.combo-tips-bar {
  display: flex;
  font-size: 24rpx;
  padding: 20rpx 16rpx;
  align-items: center;
}
.combo-sign {
  margin-right: 12rpx;
  border-radius: 4rpx;
  padding: 0rpx 6rpx;
  font-size: 20rpx;
  background: #F81A1A;
  color: #fff;
  position: relative;
}
.combo-sign::before{
  position: absolute;
  left: 14rpx;
  bottom: -16rpx;
  content: "";
  display: block;
  width: 0;
  height: 0;
  border: 8rpx solid transparent;
  border-top: 8rpx solid #F81A1A;
}
.combo-name {
  font-weight: bold;
}
.combo-reduce {
  color: #F81A1A;
  margin-left: auto;
}

/* 套装商品 */
.combo-prod-con {
}
.combo-prod-item {
  display: flex;
  width: 100%;
  padding: 20rpx;
  box-sizing: border-box;
  border-top: 2rpx solid #eee;
}
.combo-prod-img {
  width: 180rpx;
  height: 180rpx;
  margin: 0 20rpx 0 50rpx;
}
.combo-prod-info {
  flex: 1;
}
.combo-prod-name {
  display: -webkit-box;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.combo-prod-sku {
  display: inline-block;
  color: #999;
  background: #f9f9f9;
  padding: 0 10rpx 0 10rpx;
  border-radius: 4rpx;
  overflow: hidden;
  text-overflow:ellipsis;
  white-space: nowrap;
  font-size: 24rpx;
  margin: 20rpx 0 40rpx 0;
  position: relative;
}
.combo-prod-price {
  font-size: 24rpx;
}
.combo-prod-price-amount {
  color: #F81A1A;
}
.combo-prod-price-amount .big-price {
  font-size: 32rpx;
}
.combo-prod-price-count {
  margin-left: 20rpx;
}

/* 套装底栏 */
.combo-oper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20rpx 20rpx 20rpx 80rpx;
  position: relative;
  border-bottom: 2rpx solid #eee;
}
.combo-oper::after {
  position: absolute;
  left: 36rpx;
  top: 0;
  bottom: 0;
  width: 1px;
  height: auto;
  content: "";
  border-left: 1px dashed #eee;
  z-index: 0;
}
.combo-price {
  color: #F81A1A;
  font-size: 24rpx;
  font-weight: bold;
}
.combo-amount {
  font-size: 32rpx;
}
.combo-count {

}

.combo-count .m-numSelector {
  display: flex;
  box-sizing: border-box;
  border: 2rpx solid #eee;
  border-radius: 4rpx;
}

.combo-count .m-numSelector .minus,
.combo-count .m-numSelector .plus {
  height: 56rpx;
  width: 56rpx;
  box-sizing: border-box;
  position: relative;
}

.combo-count .m-numSelector input {
  width: 56rpx;
  height: 56rpx;
  text-align: center;
  color: #333;
  border-left: 2rpx solid #eee;
  border-right: 2rpx solid #eee;
  font-size: 24rpx;
  font-family: arial;
}

.combo-count .m-numSelector .minus::before,
.combo-count .m-numSelector .plus::before,
.combo-count .m-numSelector .plus::after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  content: ' ';
  width: 22rpx;
  height: 2rpx;
  background-color: #7f7f7f;
}

.combo-count .m-numSelector .plus::after {
  transform: rotate(90deg);
}

.combo-count .m-numSelector:not(.disabled) .minus:not(.disabled):active,
.combo-count .m-numSelector:not(.disabled) .plus:not(.disabled):active {
  opacity: 0.6;
}

/deep/ .checkbox .uni-checkbox-input-disabled {
  background: #e1e1e1 !important;
}